package com.phoenix.jsef.basedata.pojo;

import com.phoenix.jsef.framework.Entity;
import com.phoenix.jsef.framework.annotations.EntityAttribute;
import java.util.Date;

 /**   
 * @ClassName: CSysLogEntity  
 * @Description:TODO(该类为数据中 表:sys_log 对应的商业实体类.)   
 * @author: 李启联
 * @date:   2019-8-6 16:41:33  
 * @version V1.0     
 * @Copyright: Copyright (c) 2018
 * 申明：本内容未经作者本人同意,禁止外泄以及用于其他的商业项目.
 */
@EntityAttribute(selectTable = "sys_log", updateTable = "sys_log", identityProperty = "id")
@SuppressWarnings("serial")
public class CSysLogEntity extends Entity {
	// 编号
	private String id;		
	// 用户名
	private String userName;		
	// 用户操作
	private String operation;		
	// 请求方法
	private String method;		
	// 请求参数
	private String params;		
	// 执行时长(毫秒)
	private BigInteger time;		
	// ip地址
	private String ip;		
	// 创建人
	private String createUser;		
	// 创建时间
	private Date createTime;		
	// 更新人
	private String lastUpdateUser;		
	// 更新时间
	private Date lastUpdateTime;		
	
	public String getId(){
		return this.id;
	}
	public void setId(String id){
		this.id = id;
	}
	
	public String getUserName(){
		return this.userName;
	}
	public void setUserName(String userName){
		this.userName = userName;
	}
	
	public String getOperation(){
		return this.operation;
	}
	public void setOperation(String operation){
		this.operation = operation;
	}
	
	public String getMethod(){
		return this.method;
	}
	public void setMethod(String method){
		this.method = method;
	}
	
	public String getParams(){
		return this.params;
	}
	public void setParams(String params){
		this.params = params;
	}
	
	public BigInteger getTime(){
		return this.time;
	}
	public void setTime(BigInteger time){
		this.time = time;
	}
	
	public String getIp(){
		return this.ip;
	}
	public void setIp(String ip){
		this.ip = ip;
	}
	
	public String getCreateUser(){
		return this.createUser;
	}
	public void setCreateUser(String createUser){
		this.createUser = createUser;
	}
	
	public Date getCreateTime(){
		return this.createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	
	public String getLastUpdateUser(){
		return this.lastUpdateUser;
	}
	public void setLastUpdateUser(String lastUpdateUser){
		this.lastUpdateUser = lastUpdateUser;
	}
	
	public Date getLastUpdateTime(){
		return this.lastUpdateTime;
	}
	public void setLastUpdateTime(Date lastUpdateTime){
		this.lastUpdateTime = lastUpdateTime;
	}
	
	
	public CSysLogEntity(){
	}
	
	@Override
    public String toString(){
    	return " CSysLogEntity ["
    	       +" id = " +id +" ,"
    	       +" userName = " +userName +" ,"
    	       +" operation = " +operation +" ,"
    	       +" method = " +method +" ,"
    	       +" params = " +params +" ,"
    	       +" time = " +time +" ,"
    	       +" ip = " +ip +" ,"
    	       +" createUser = " +createUser +" ,"
    	       +" createTime = " +createTime +" ,"
    	       +" lastUpdateUser = " +lastUpdateUser +" ,"
    	       +" lastUpdateTime = " +lastUpdateTime   
    	       +" ]";
    }
	
}